<template>
  <div id="app">
    <header>电影 读书</header>
    <div class="content">
      <div class="left">
        <router-link to="/hot">正在热映</router-link>
        <router-link to="/top">豆瓣250</router-link>
        <router-link to="/future">即将上映</router-link>
      </div>
      <div class="right">
        <router-view/>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style scoped>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
header {
  background-color: #e4f2e4;
  font-size: 20px;
}

.content {
  width: 900px;
  overflow: hidden;
  margin: 0 auto;
}

.left {
  float:left;
  width:300px
}
.left a {
  display: block
}
.right {
  float:right;
}
</style>
